package aad.storyboard.model;

import android.graphics.Rect;

public class ParticleDeadState implements ParticleState{
    Particle particle;
	
	public ParticleDeadState(Particle particle)
	{
		this.particle=particle;
	}
	
	@Override
	public void update() {		
		//particle is dead, nothing to update
	}

	@Override
	public void update(Rect rect) {
		//particle is dead, nothing to update
		
	}

	
	@Override
	public void reset(float x, float y) {
		particle.setNewState(particle.getAliveState());
		particle.setPosX(x);
		particle.setPosY(y);		
	}

}
